//
//  YQNetworkTools.h
//  WeiboOC
//
//  Created by yang on 15/11/19.
//  Copyright © 2015年 yang. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>
typedef enum:NSUInteger{
    POST,
     GET,
}HTTPMethod;

@interface YQNetworkTools : AFHTTPSessionManager

+ (instancetype)sharedTools;
- (void)requestJsonDict:(HTTPMethod)method urlString:(NSString *)urlString parameters:(NSDictionary *)parameters finished:(void (^)(id dict,NSError *error))finished;

@end
